<?php
/**
 * True Gallery Demo layout
 *
 * @version 2.5
 * @author Alexey N. Brin (userxp@joomlaportal.ru)
 * @homepage http://truegallery.ru 
 * @filename demo.php
 * @package True Gallery
 * @copyright (C) 2008-2009 by joomlatune.ru
 * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
 * 
 * THIS GALLERY is an EVOLUTION of AkoGallery -> PonyGallery -> DatsoGallery
 *
 * If you fork this to create your own project, 
 * please make a reference to True Gallery someplace in your code 
 * and provide a link to http://www.joomlatune.ru
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');

// including default layout for inheritance
//include_once JTuneLayout::getDefault('default');
include_once TG_VIEWSPATH.'default'.DSX.'tmpl'.DSX.'default.php';

// append default.css style
appendStyle( 'light' );

if( class_exists( 'JTrueCategoriesRouterSite' ) ) {
	
	class JTrueLayoutRouter extends JTrueCategoriesRouterSite
	{
		function view( $cid='', $tpla='category', $tplb='categories' ){
			parent::view( $cid,$tpla,$tplb );
			
			// JS plugins ???
			//include( TG_ADMINPATH.'plugins'.DSX.'lightbox'.DSX.'lightbox.php' );
		}
	}
}


if( class_exists( 'JTruePicturesRouterSite' ) ) {
	class JTrueLayoutRouter extends JTruePicturesRouterSite
	{
		
	}
}
?>